package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.BaseGrade;

import java.util.List;
import java.util.Map;

/**
 *
 * BaseGrade 表数据服务层接口
 *
 */
public interface IBaseGradeService extends ISuperService<BaseGrade,Long> {


    List<BaseGrade> findAllFromCache();

    List<String> findGradeNameByIds(List<Long> gradeIds );

    String findGradeNameById(Long gradeId);

    BaseGrade findGradeByGradeName(String gradeName);

    List<BaseGrade> findGradeByGradeNames(List<String> gradeNames);

    List<BaseGrade> findDealOtherPosition(List<Long> gradeIds);

    List<BaseGrade> findAllOrderGrade();

    Map<Long,BaseGrade> findGradeMap();
}